package week9;

public class EatableTest {
    public static void main(String[]args){
        Eatable[]people = new Eatable[3];
        people[0]= new Chinese();
        people[1]= new American();
        people[2]= new Indian();
        for(Eatable person:people){
            person.eat();
        }
    }
}
